package com.sander.guardmanagement.app;

import android.app.Application;
import android.util.Log;

import com.facebook.drawee.backends.pipeline.Fresco;
import com.sander.guardmanagement.ui.model.ContractInfo;
import com.sander.guardmanagement.until.AppUnit;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import cat.ereza.customactivityoncrash.CustomActivityOnCrash;

/**
 * Created by sander on 2017/4/7.
 */

public class GuardApplication extends Application {

    public static GuardApplication instance;

    public GuardApplication(){
        instance = this;
    }

    public static GuardApplication getContent(){
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();

        Log.d("sander","on create");

        Fresco.initialize(this);
//
        CustomActivityOnCrash.install(this);

    }



}
